package com.dy.lock.screen.dao;

import java.util.Map;

import com.dy.lock.screen.pojo.MaterialCommentInfo;

public interface MaterialCommentDao extends
		BaseDao<MaterialCommentInfo, String> {

	/**
	 * 通过id查询
	 * 
	 * @param commentId
	 * @return
	 */
	public MaterialCommentInfo queryByPrimaryKey(String commentId);

	/**
	 * 查询评论详情
	 * 
	 * @param para
	 * @return
	 */
	public MaterialCommentInfo queryCommentDetail(Map<String, Object> para);

	/**
	 * 假删除
	 * 
	 * @param maComentInfo
	 * @return
	 */
	public int falseDelete(MaterialCommentInfo maComentInfo);

}
